package com.app.mapper;

import com.app.pojo.PublicAnnouncement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 信息公告 Mapper 接口
 * </p>
 *
 * @author yoominic
 * @since 2024-07-29
 */
@Mapper
public interface PublicAnnouncementMapper extends BaseMapper<PublicAnnouncement> {

    IPage<PublicAnnouncement> noticeList(@Param("p") Page p, @Param("title") String title, @Param("type") Integer type);
}
